/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ar.edu.unicen.twitter.suggest.backend.recommendation.Ranking.combinar;

/**
 *
 * @author Alex
 */
public class CombinadorPuntajePrioritario implements CombinadorPuntaje{

    @Override
    public double combinar(double p1, double p2) {
        if(Double.compare(p1, 0.0)<=0)
            return p2;
        else
            return p1;
    }
    
}
